package com.xzh.dao;

import com.xzh.entity.User;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;
import java.util.List;


@Repository
public interface UserDao {

    List<User> getAllUser();

    User userLogin(User user);

    int userReg(User user);

    int getTotal();
}
